using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gko.Utils;
using Gko.Wpf.Mvvm.Interfaces;

namespace Gko.Wpf.Mvvm
{
	internal static class Extensions
	{
		public static bool IsParallel(this MediatorOptions options)
		{
			return ((int)options).HasFlag((int)MediatorOptions.ParallelCall);
		}
		public static bool IsBackground(this MediatorOptions options)
		{
			return ((int)options).HasFlag((int)MediatorOptions.BackgroundCall);
		}
	}
}